package com.cloud.service.impl;

import com.cloud.service.PaymentHystrixService;
import org.springframework.stereotype.Component;

/**
 * @BelongsProject: my
 * @BelongsPackage: com.cloud.service
 * @Author: ji ge
 * @CreateTime: 2024-01-31  10:52
 * @Description: TODO
 * @Version: 1.0
 */
//不用service 注解
//@Service
    @Component
public class PaymentHystrixFallbackServiceImpl implements PaymentHystrixService {

    @Override
    public String paymentHystrixOk(Integer id) {

        return ("PaymentHystrixFallbackServiceImpl.paymentHystrixOk");
    }

    @Override
    public String paymentHystrixTimeOut(Integer id) {
        return ("PaymentHystrixFallbackServiceImpl.paymentHystrixTimeOut");
    }
}
